//
//  TAMTProfileAvatarCell.swift
//  TAMeetApp
//
//  Created by Admin on 2024/12/4.
//

import UIKit

class TAMTProfileAvatarCell: UITableViewCell {
    
    lazy var avatarView:UIImageView = {
        let apple = UIImageView()
        apple.contentMode = .scaleAspectFill
        apple.clipsToBounds = true
        apple.layer.cornerRadius = 12
        apple.layer.masksToBounds = true
        apple.backgroundColor = .cyan
        return apple
    }()

    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.selectionStyle = .none
        contentView.addSubview(avatarView)
        avatarView.snp.makeConstraints { make in
            make.top.equalTo(10)
            make.bottom.equalTo(-10)
            make.trailing.equalTo(-10)
            make.width.equalTo(avatarView.snp.height)
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
